# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy

class EsfOfOwner(scrapy.Item):
    """
    @author Hongv
    @desc 个人房源·出售
    """
    id       = scrapy.Field()
    house_id = scrapy.Field()
    title    = scrapy.Field()
    description  = scrapy.Field()
    web_belong   = scrapy.Field()
    web_code = scrapy.Field()
    city_belong  = scrapy.Field()
    city_code    = scrapy.Field()
    district_belong  = scrapy.Field()
    district_code  = scrapy.Field()
    business_belong  = scrapy.Field()
    business_code  = scrapy.Field()
    address   = scrapy.Field()
    community_name = scrapy.Field()
    unit_price  = scrapy.Field()
    total_price = scrapy.Field()
    room      = scrapy.Field()
    hall      = scrapy.Field()
    toilet    = scrapy.Field()
    builtuparea  = scrapy.Field()
    construction_date = scrapy.Field()
    orientation  = scrapy.Field()
    orientation_code = scrapy.Field()
    architecturaltype = scrapy.Field()
    architecturaltype_code = scrapy.Field()
    floor  = scrapy.Field()
    decoration  = scrapy.Field()
    decoration_code = scrapy.Field()
    property_year  = scrapy.Field()
    property_year_code = scrapy.Field()
    lift  = scrapy.Field()
    property_type  = scrapy.Field()
    property_type_code = scrapy.Field()
    publisher_name  = scrapy.Field()
    publisher_phone  = scrapy.Field()
    picture  = scrapy.Field()
    created_time  = scrapy.Field()
    updated_time  = scrapy.Field()
    published_time  = scrapy.Field()
    is_new  = scrapy.Field()
    detail_url  = scrapy.Field()
    pay_type  = scrapy.Field()
    lease_type  = scrapy.Field()
    lease_room  = scrapy.Field()
    remark1  = scrapy.Field()
    remark2  = scrapy.Field()
    remark3  = scrapy.Field()
    img_count  = scrapy.Field()
    wechat_link = scrapy.Field()

class RentOfOwner(scrapy.Item):
    """
    @author Hongv
    @desc 个人房源·出售
    """
    id       = scrapy.Field()
    house_id = scrapy.Field()
    title    = scrapy.Field()
    description  = scrapy.Field()
    web_belong   = scrapy.Field()
    web_code = scrapy.Field()
    city_belong  = scrapy.Field()
    city_code    = scrapy.Field()
    district_belong  = scrapy.Field()
    district_code  = scrapy.Field()
    business_belong  = scrapy.Field()
    business_code  = scrapy.Field()
    address   = scrapy.Field()
    community_name = scrapy.Field()
    unit_price  = scrapy.Field()
    room      = scrapy.Field()
    hall      = scrapy.Field()
    toilet    = scrapy.Field()
    builtuparea  = scrapy.Field()
    orientation  = scrapy.Field()
    orientation_code = scrapy.Field()
    floor  = scrapy.Field()
    decoration  = scrapy.Field()
    decoration_code = scrapy.Field()
    publisher_name  = scrapy.Field()
    publisher_phone  = scrapy.Field()
    picture  = scrapy.Field()
    created_time  = scrapy.Field()
    updated_time  = scrapy.Field()
    published_time  = scrapy.Field()
    is_new  = scrapy.Field()
    detail_url  = scrapy.Field()
    pay_type  = scrapy.Field()
    pay_type_code = scrapy.Field()
    lease_type  = scrapy.Field()
    lease_type_code = scrapy.Field()
    lease_room  = scrapy.Field()
    lease_room_code = scrapy.Field()
    remark1  = scrapy.Field()
    remark2  = scrapy.Field()
    remark3  = scrapy.Field()
    img_count  = scrapy.Field()
    wechat_img = scrapy.Field()